<legend class='hyc-legend'>
    <span>燃油价格列表</span>
</legend>
<div class="row hyc-query-row">
    <div class="col-md-1 text-right top7">燃油类型</div>
    <div class="col-md-2">
        <div class="form-group">
            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="fuelPrice.fuelTypeId" bs-options="p.id as p.fuelName for p in fuelTypeList" bs-select placeholder="---选择燃油类型---">
            </button>
        </div>
    </div>
    <div class="col-md-1 text-right top7">生效日期</div>
    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" ng-model="fuelPrice.effectiveDate" placeholder="生效日期" bs-datepicker date-format="yyyy-MM-dd">
        </div>
    </div>
    <div class="col-md-6">
        <div class="form-group text-center">
            <div class="btn btn-default btn-sm btn-warning" ng-click="loadData('query')">查询</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm" ng-click="clearQuery()">重置</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm btn-warning" ng-click="showAddDlg()">新增</div>
        </div>
    </div>
</div>
<table class="table table-bordered" style="margin-top: 10px;">
    <tr>
        <th class="text-left">燃油类型</th>
        <th class="text-center">市场价</th>
        <th class="text-center">生效日期</th>
        <th class="text-center">失效日期</th>
        <th class="text-center">创建时间</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in fuelPriceList track by $index" ng-if="fuelPriceList.length > 0">
        <td class="text-left">{{item.fuelTypeName}}</td>
        <td class="text-center">{{item.marketPrice}}</td>
        <td class="text-center">{{item.effectiveDate | limitTo:10}}</td>
        <td class="text-center">{{item.invalidDate | limitTo:10}}</td>
        <td class="text-center">{{item.createTime}}</td>
        <td class="text-center">
            <a ng-click="showUpdateDlg(item)" class="hyc-cursor-decoration" ng-hide="item.isLock">修改</a>&nbsp;&nbsp;
            <a ng-click="del(item)" class="hyc-cursor-decoration" ng-hide="item.isLock">删除</a>
        </td>
    </tr>
    <tr ng-if="fuelPriceList.length <= 0">
        <td class="text-center" colspan="6">暂无符合条件数据</td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="fuelPriceList.length > 0"></div>